upgrader: Hold a ref to the origin
authorColin Walters <walters@verbum.org>
Tue, 30 Sep 2014 14:22:57 +0000 (10:22 -0400)
committerColin Walters <walters@verbum.org>
Tue, 30 Sep 2014 15:02:14 +0000 (11:02 -0400)
commit1b8759a67e7705b2dba4b6c4d99e0c7b0b82da41
treecfd9da099532a127c13c03ae34d21b8460c7ebe7
parentcc180f5d38e3833a1e10b1185b40c1c539e83239
upgrader: Hold a ref to the origin

We unref it in _finalize, so we need to hold a ref.  I *thought*
this was the source of
https://github.com/projectatomic/rpm-ostree/issues/30

But apparently not =/
src/libostree/ostree-sysroot-upgrader.c